﻿// =================================================================== 
// 项目说明
//====================================================================
// Wup。@Copy Right 2014
// 文件： Course.cs
// 项目名称：买车网
// 创建时间：2014/7/20
// 负责人：Wup
// ===================================================================
using System;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ComponentModel;
namespace Weixin.Entity.ChinaTax
{
	/// <summary>
	///Course数据实体
	/// </summary>
	[Serializable]
	[DataContract]
	public class CourseEntity
	{
		#region 变量定义
		///<summary>
		///
		///</summary>
		private int _cid;
		///<summary>
		///
		///</summary>
		private string _title = String.Empty;
		///<summary>
		///
		///</summary>
		private DateTime _startDate;
		///<summary>
		///
		///</summary>
		private DateTime _endDate;
		///<summary>
		///
		///</summary>
		private string _province = String.Empty;
		///<summary>
		///
		///</summary>
		private string _city = String.Empty;
		///<summary>
		///
		///</summary>
		private string _teacher = String.Empty;
		///<summary>
		///
		///</summary>
		private int _cTypeId;
		///<summary>
		///
		///</summary>
		private string _detail = String.Empty;
		///<summary>
		///
		///</summary>
		private DateTime _createTime;
		///<summary>
		///
		///</summary>
		private DateTime _updateTime;
		///<summary>
		///
		///</summary>
		private string _userName = String.Empty;
		///<summary>
		///
		///</summary>
		private int _isActive;
        /// <summary>
        /// 
        /// </summary>
        private string _address = string.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///
		///</summary>
		public CourseEntity()
		{
		}
		///<summary>
		///
		///</summary>
		public CourseEntity
		(
			int cid,
			string title,
			DateTime startDate,
			DateTime endDate,
			string province,
			string city,
			string teacher,
			int cTypeId,
			string detail,
			DateTime createTime,
			DateTime updateTime,
			string userName,
			int isActive,
            string address
		)
		{
			_cid        = cid;
			_title      = title;
			_startDate  = startDate;
			_endDate    = endDate;
			_province   = province;
			_city       = city;
			_teacher    = teacher;
			_cTypeId    = cTypeId;
			_detail     = detail;
			_createTime = createTime;
			_updateTime = updateTime;
			_userName   = userName;
			_isActive   = isActive;
            _address    = address;
			
		}
		#endregion
		
		#region 公共属性

		
		///<summary>
		///
		///</summary>
		[DataMember]
		public int Cid
		{
			get {return _cid;}
			set {_cid = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Title
		{
			get {return _title;}
			set {_title = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public DateTime StartDate
		{
			get {return _startDate;}
			set {_startDate = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public DateTime EndDate
		{
			get {return _endDate;}
			set {_endDate = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Province
		{
			get {return _province;}
			set {_province = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string City
		{
			get {return _city;}
			set {_city = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Teacher
		{
			get {return _teacher;}
			set {_teacher = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int CTypeId
		{
			get {return _cTypeId;}
			set {_cTypeId = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Detail
		{
			get {return _detail;}
			set {_detail = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public DateTime CreateTime
		{
			get {return _createTime;}
			set {_createTime = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public DateTime UpdateTime
		{
			get {return _updateTime;}
			set {_updateTime = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string UserName
		{
			get {return _userName;}
			set {_userName = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int IsActive
		{
			get {return _isActive;}
			set {_isActive = value;}
		}

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }
	
		#endregion
		
	}
}
